package day6.demo1_threadLocal;

public class Book {
    ThreadLocal<Integer> local = new ThreadLocal();
    public void setPageNo(int no){
        local.set(no);
    }
    public Integer getPageNo(){
        return local.get();
    }
}
